Optimal. Leaf size=49 \[ \frac {\log \left (-\frac {e x^m}{d}\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{m}+\frac {b n \text {Li}_2\left (1+\frac {e x^m}{d}\right )}{m} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {2504, 2441,
2352} \begin {gather*} \frac {b n \text {PolyLog}\left (2,\frac {e x^m}{d}+1\right )}{m}+\frac {\log \left (-\frac {e x^m}{d}\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{m} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2352
Rule 2441
Rule 2504
Rubi steps
\begin {align*} \int \frac {a+b \log \left (c \left (d+e x^m\right )^n\right )}{x} \, dx &=\frac {\text {Subst}\left (\int \frac {a+b \log \left (c (d+e x)^n\right )}{x} \, dx,x,x^m\right )}{m}\\ &=\frac {\log \left (-\frac {e x^m}{d}\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{m}-\frac {(b e n) \text {Subst}\left (\int \frac {\log \left (-\frac {e x}{d}\right )}{d+e x} \, dx,x,x^m\right )}{m}\\ &=\frac {\log \left (-\frac {e x^m}{d}\right ) \left (a+b \log \left (c \left (d+e x^m\right )^n\right )\right )}{m}+\frac {b n \text {Li}_2\left (1+\frac {e x^m}{d}\right )}{m}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 49, normalized size = 1.00 \begin {gather*} a \log (x)+\frac {b \left (\log \left (-\frac {e x^m}{d}\right ) \log \left (c \left (d+e x^m\right )^n\right )+n \text {Li}_2\left (\frac {d+e x^m}{d}\right )\right )}{m} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 1.46, size = 189, normalized size = 3.86
method | result | size |
risch | \(b \ln \left (x \right ) \ln \left (\left (d +e \,x^{m}\right )^{n}\right )+\frac {i \ln \left (x \right ) b \pi \,\mathrm {csgn}\left (i \left (d +e \,x^{m}\right )^{n}\right ) \mathrm {csgn}\left (i c \left (d +e \,x^{m}\right )^{n}\right )^{2}}{2}-\frac {i \ln \left (x \right ) b \pi \,\mathrm {csgn}\left (i \left (d +e \,x^{m}\right )^{n}\right ) \mathrm {csgn}\left (i c \left (d +e \,x^{m}\right )^{n}\right ) \mathrm {csgn}\left (i c \right )}{2}-\frac {i \ln \left (x \right ) b \pi \mathrm {csgn}\left (i c \left (d +e \,x^{m}\right )^{n}\right )^{3}}{2}+\frac {i \ln \left (x \right ) b \pi \mathrm {csgn}\left (i c \left (d +e \,x^{m}\right )^{n}\right )^{2} \mathrm {csgn}\left (i c \right )}{2}+\ln \left (c \right ) \ln \left (x \right ) b +\ln \left (x \right ) a -\frac {b n \dilog \left (\frac {d +e \,x^{m}}{d}\right )}{m}-b n \ln \left (x \right ) \ln \left (\frac {d +e \,x^{m}}{d}\right )\) | \(189\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 72, normalized size = 1.47 \begin {gather*} \frac {b m n \log \left (x^{m} e + d\right ) \log \left (x\right ) - b m n \log \left (x\right ) \log \left (\frac {x^{m} e + d}{d}\right ) - b n {\rm Li}_2\left (-\frac {x^{m} e + d}{d} + 1\right ) + {\left (b m \log \left (c\right ) + a m\right )} \log \left (x\right )}{m} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \log {\left (c \left (d + e x^{m}\right )^{n} \right )}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {a+b\,\ln \left (c\,{\left (d+e\,x^m\right )}^n\right )}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________